<%@ page language="java" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    if (path.endsWith("/"))
        path = path.substring(0, path.length() - 1);
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
    request.setAttribute("root", basePath);
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>健康金订单支付</title>
   <%@include file="../import.jsp"%>
  </head>
  <body>
  <div data-role="page"  data-theme="c" >
      <div data-role="header">
          <h1>健康金支付</h1>
      </div>
      <div data-role="content">
          <span>支付处理失败：${errMsg}</span>
          <a href="${header['referer']}" type="button" data-corners="false">返回商户主页</a>

      </div>
  </div>
  <script type="text/javascript">
      function alert(message, time, text) {
          message = message || '';
          time = time ? time * 1000 : 1000;
          text = text || true;
          $.mobile.loading( "show", {
              text: message,
              textVisible: true,
              theme: "z"
          });
          setTimeout(function() {
              $.mobile.loading( "hide" );
          }, time);
      }

      $(function(){
          //alert("支付处理失败：${errMsg}",10000);
      });
  </script>
  </body>
</html>
